package com.thoughtworks.biblioteca.command;

import com.thoughtworks.biblioteca.controller.BookController;


public class ListBookCatalog implements ICommand {
    private BookController bookController;

    public void doExecute() {
        listBookCatalog();
    }

    private void listBookCatalog() {
        System.out.println(bookController.listBookCatalog());
    }

    public BookController getBookController() {
        return bookController;
    }

    public void setBookController(BookController bookController) {
        this.bookController = bookController;
    }
}
